﻿
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using Model;


namespace MsDAL
{
    public partial class Pot0a03DAL : Pot0a03Base
    {
        /// <summary>
        /// 删除
        /// </summary>
        public SqlApp Delete(string listid)
        {
            string sql = " UPDATE Pot0a03 SET status = '02' WHERE listid =@listid AND status = '01' ";
            SqlParameter[] parameters = {
				new SqlParameter("@listid", SqlDbType.NVarChar)
				};
            parameters[0].Value = listid;

            return new SqlApp(sql, new ArrayList(parameters), false, "数据可能已经被删除, 操作失败!");
        }
    }
}
